# Tanım: MATE için ince ayar aracı
# URL: https://github.com/ubuntu-mate/mate-tweak
# Paketçi: Cihan_Alkan 
# Gerekler: gtk3 libnotify mate-applets python3-configobj python3-gobject python3-psutil python3-setproctitle python3-distutils-extra python3-setuptools
# Grup: masaüstü

isim=mate-tweak
surum=18.04.16
devir=1
_umsver=18.04.14

kaynak=("https://github.com/ubuntu-mate/$isim/archive/$surum.tar.gz::$isim-$surum.tar.gz"
        "https://github.com/ubuntu-mate/ubuntu-mate-settings/archive/$_umsver.tar.gz::ubuntu-mate-settings-$_umsver.tar.gz")

derle() {

  cd "$isim-$surum"
  sed -i 's|/usr/lib/mate-applets/topmenu-mate-panel-applet|/usr/lib/topmenu-gtk/topmenu-mate-panel-applet|' mate-tweak

  python3 setup.py install --root="$PKG" --optimize=1
  cp -r "$SRC"/ubuntu-mate-settings-$_umsver/usr/share/mate-panel "$PKG/usr/share"
}
